package cn.qayy.service;


import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.github.pagehelper.PageInfo;

import cn.qayy.dto.MailListDTO;
import cn.qayy.po.WxMailList;

/**
 * @author wangyu
 * 中标库接口
 */
public interface IMailListService extends BasicService{
	/**
	 * 分页查询
	 * @param params
	 * @return
	 */
    PageInfo<WxMailList> selectMailListBy(MailListDTO dto) throws Exception;
    
   List<MailListDTO> selectMailListForDown(@RequestParam Map<String, Object> params) throws Exception;
    /**
     * 通过id查询好伙伴库
     * @param params
     * @return
     */
   WxMailList selectMailListByID(@RequestParam Integer gfId) throws Exception;

	//List<WxMailList> selectByMap(Map<String, Object> params);
	/**
	 * 查询id
	 * @param params
	 * @return
	 */
	List<Integer> selectIdsByMap(Map<String, Object> params);
    
}
